<template>
	<div class="d1">
		这是一个全图列表 <br />
		<router-link to="/textImg">点我跳转图文页</router-link><br />
		<a href="javascpit:;" @click="abd()">还可以点我跳回首页</a>
	</div>
</template>

<script>
	export default {
	  name: 'index',
	  methods:{
	  		  abc(){
	  			   this.$router.push() 
	  		  },
			  abd(){
					this.$router.push({path:'/index'}) 
			  }
	  }
	  }
</script>

<style>
	.d1{color: red; font-size: 40px; text-align: center;}
</style>
